package com.awa.usercenter;

import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;
import com.aliyuncs.exceptions.ClientException;
import com.awa.usercenter.common.utils.SmsUtil;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * 短信测试
 * 已通过
 */
@SpringBootTest
public class smstest {
    @Test
    public void now() throws ClientException {
        SendSmsResponse sms465086053 = SmsUtil.sendSms
                ("13697911559",
                "SMS_465086053",
                "123321");
        System.out.println(sms465086053);
    }
}
